what is a cubic equation